<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/pageBitOperation.css">
</head>
<body>

<div class="view">
    <a href="MenuComputerMath.html" class="back">返回</a>
    <h1>位运算</h1>

    <label>
        <!-- -->
        <span class="inputLine andComp">
            <input type="text" class="numberInput n1">
            <span class="op">&</span>
            <input type="text" class="numberInput n2">
            <span>=</span>
            <span class="output"></span>
        </span>
        <span class="inputLine orComp">
            <input type="text" class="numberInput n1">
            <span class="op">|</span>
            <input type="text" class="numberInput n2">
            <span>=</span>
            <span class="output"></span>
        </span>
        <span class="inputLine notComp">
            <input type="text" class="numberInput n1">
            <span class="op">^</span>
            <input type="text" class="numberInput n2">
            <span>=</span>
            <span class="output"></span>
        </span>

        <span class="inputLine revComp">
            <span class="op">~</span>
            <input type="text" class="numberInput n1">
            <span>=</span>
            <span class="output"></span>
        </span>
        <span class="inputLine leftComp">
            <input type="text" class="numberInput n1">
            <span class="op"><<</span>
            <input type="text" class="numberInput n2">
            <span>=</span>
            <span class="output"></span>
        </span>
        <span class="inputLine rightComp">
            <input type="text" class="numberInput n1">
            <span class="op">>></span>
            <input type="text" class="numberInput n2">
            <span>=</span>
            <span class="output"></span>
        </span>

        <span class="inputLine rightNComp">
            <input type="text" class="numberInput n1">
            <span class="op">>>></span>
            <input type="text" class="numberInput n2">
            <span>=</span>
            <span class="output"></span>
        </span>

        <button class="start">开始计算！！！</button>

    </label>
    <h4>以下为二元位运算表，可以通过表格来找到一些规律</h4>
    <div class="table andOperation"></div>
    <div class="table orOperation"></div>
    <div class="table notOperation"></div>
    <div class="table reverseOperation"></div>
</div>

</body>
</html>
<script src="../js/mathTools.js"></script>
<script src="../js/computeEle.js"></script>
<script src="../js/binaryOperationTable.js"></script>
<script src="../js/bitOperation.js"></script>
